package com.thread.exem;

import java.util.concurrent.ArrayBlockingQueue;

/**
 * @author げっしょく
 * @date 2021/8/7
 */
public class Test7 {
    public static void main(String[] args) {
        ArrayBlockingQueue<String> array = new ArrayBlockingQueue<>(1);
        new Fooler(array).start();
        new Cooker(array).start();
    }
}
